﻿.up-container {
    overflow: hidden;
    *zoom: 1
}

.up-entry {
    width: 130px;
    height: 130px;
    margin: 0 6px 6px 0;
    position: relative;
    background: transparent url(images/upload-sprite.png) no-repeat -120px 0;
    background-size: 540px 130px
}

    .up-entry .up-file {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer
    }

    .up-entry:active {
        background: transparent url(images/upload-sprite.png) no-repeat -260px 0;
        background-size: 540px 130px
    }

.up-error {
    background: transparent url(images/upload-sprite.png) no-repeat -400px 0;
    background-size: 540px 130px
}

.up-pics {
    overflow: hidden;
    *zoom: 1;
    padding: 0px
}

    .up-pics .up-pic {
        float: left;
        width: 130px;
        height: 130px;
        margin: 0 6px 6px 0;
        position: relative;
        background-color: #fff;
        word-break: break-all;
        word-wrap: break-word;
    }

    .up-pics li {
        list-style: none
    }

    .up-pics .up-clip {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border: 1px solid #d4d4d4;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        overflow: hidden
    }

        .up-pics .up-clip img {
            display: none;
            width: 100%
        }

    .up-pics .up-del {
        position: absolute;
        top: 3px;
        right: 3px;
        border: 1px solid #fff;
        border-radius: 12px;
        width: 22px;
        height: 22px;
        background: rgba(0,0,0,0.38)
    }

        .up-pics .up-del:hover, .up-pics up-del:active {
            background: rgba(0,0,0,0.5);
            text-decoration: none
        }

        .up-pics .up-del:before, .up-pics .up-del:after {
            display: block;
            position: absolute;
            top: 11px;
            left: 4px;
            width: 14px;
            height: 1px;
            background: #fff;
            -webkit-transform: rotate(45deg);
            content: ""
        }

        .up-pics .up-del:after {
            -webkit-transform: rotate(-45deg)
        }

    .up-pics .up-mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        border-radius: 5px;
        background-color: #000;
        opacity: .5
    }

    .up-pics .up-progress {
        position: absolute;
        bottom: 8px;
        left: 50%;
        margin-left: -19px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        width: 38px;
        height: 7px;
        background-color: rgba(255,255,255,0.11)
    }

        .up-pics .up-progress .pos {
            -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            border-radius: 4px;
            width: 6px;
            height: 100%;
            background-color: #fff
        }

    .up-pics .up-over .up-mask, .up-pics .up-over .up-progress, .up-pics .up-error .up-mask, .up-pics .up-error .up-progress {
        display: none
    }
